package com.example.park2212.emp

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.lib_base.entity.DepartNumBean
import com.example.park2212.R

class EmpNumAdapter:BaseQuickAdapter<DepartNumBean,BaseViewHolder>(R.layout.item_depart) {
    override fun convert(helper: BaseViewHolder, item: DepartNumBean) {
        helper.setText(R.id.depart_name,item.dname)
        helper.setText(R.id.depart_num,"${item.num}人")
    }
}